package com.new1cloud.file.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用于发送给客户端本次上传分片文件的请求数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SendChunkFilesReq implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 文件上传进度信息
     */
    private FileUploadProcess fileUploadProcess;

    /**
     * 本次待上传的文件分片信息
     */
    private FileChunkInfo needSendChunkFiles;
}
